This wiki is hosted by using gollum.

And also some other stuff:

  • a bare git repository in the main users home directory
  • a systemd service, which hosts gollum on localhost on port 8469
  • an apache reverse proxy which enables SSL for this wiki

Systemd service

[Unit]
Description=Gollum wiki service
After=network.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
User=philipp
ExecStart=/usr/local/bin/gollum --host localhost --port 8469 --bare --no-edit --emoji /path/to/wiki.git

[Install]
WantedBy=multi-user.target

--no-edit means, that the wiki can only be edited by pushing new commits and not from the web interface. --emoji enables emoji rendering support, which is very important!